<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>E&nbsp;&nbsp;&nbsp;智造</title>
    <link href="{$smarty.const.HOME_CSS_URL}/CSS.css" rel="stylesheet" type="text/css">
    <link href="{$smarty.const.HOME_CSS_URL}/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <script src="{$smarty.const.HOME_JS_URL}/jquery.js" type="text/javascript"></script>
    <script src="{$smarty.const.HOME_JS_URL}/js.js" type="text/javascript"></script>
</head>
<style>
    *{
        font-size:14px;
    }
</style>
<body class="body_box">
<div class="user_login_box">
    <div class="login_title" style="font-size:14px;">请先通过手机号码安全验证后，继续使用</div>
    <div class="tel_verify_box">
        <form>
            <div class="tel_verify">
                <input id="phone" class="tel_text" type="text" placeholder="请输入手机号码" style="font-size:14px;">
                <input type="button" class="gain_verify btn" style="line-height: 30px; border-radius: 0" id="btn1" onClick="test(this)" value="获取验证码">
                <div class="clearfix"></div>
            </div>
            <input type="text" class="verify_num" style="font-size:14px;" id="verify_num1" placeholder="4位验证码">

            <div class="clearfix"></div>
            <input title="" class="agreement_input" id="agreement" type="checkbox" style="margin-left: 15px;">
            <div class="user_agreement" id="user_agreement1" style="margin-top: 11px;font-size:14px;">点击同意<span>
                <a href="" style="font-size:14px;">用户协议</a></span>
            </div>
            <div class="clearfix"></div>
        </form>
    </div>
    <div class="login_btn" id="login_btn" style="font-size:14px;">登录</div>

</div>
<script type="text/javascript">
function jiancha() {
    param = {
        phone: $('#phone').val(),
        num_v: $('#verify_num1').val()
    };
    $.ajax({
        type: 'post',
        data: param,
        dataType: 'json',
        url: '/zgc/zhongguancun/index.php/Home/User/jiancha',
        success: function (resp) {
            alert(resp);
        }
    })
}
</script>
</body>
</html>
